<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JS运算符_比较运算符</title>

    <script>
        var a = 3;
        var b = 4;

        document.write((a > b) + "<br>");

        document.write(("abc" < "acd") + "<br>");

        document.write(("122" < 123) + "<br>");
        document.write(("123" == 123) + "<br>");
        document.write(("123" === 123) + "<br>");

    </script>
</head>
<body>

</body>
</html>